package com.codi.bus.core.dao;

import com.codi.base.dao.BaseDAO;
import com.codi.base.dao.v2.GeneratedBaseDao;
import com.codi.bus.core.domain.BankLimit;

import java.util.List;

/**
 * 亲，写个类注释呗
 * @author wangzhenhao
 * @date 2017-12-05 11:13
 */
public interface BankLimitDao extends BaseDAO<BankLimit> {
    public int add(BankLimit bankLimit);

    public BankLimit selectOne(int id);

    public int deleteById(int id);

    public int update(BankLimit bankLimit);

    public List<BankLimit> selectAll();

    List<BankLimit> selectAllByState();

    BankLimit selectByChannelAndCode(String code, String channel);
}
